package com.example.mytayunapi.Service;

import com.example.mytayunapi.Entity.commentInfo;
import com.example.mytayunapi.Entity.userInfo;
import com.example.mytayunapi.Vo.UserCommentOrder;
import com.example.mytayunapi.Vo.UserOrderCommentOrder;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface commentInfoService {
    List<UserCommentOrder> getOrderUserComment();

    List<UserCommentOrder> getCommentUserOrderId(Integer Comment_id);
//
    Integer updateCommentInfoByOrderId(UserCommentOrder commentStatusInfo);

    PageInfo<UserCommentOrder>  getPageInfo(int pageNum, int pageSize);//分页

    List<UserCommentOrder> getCommentUserOrderStatus(String Comment_status);

    List<UserCommentOrder> getCommentUserOrderStatusNa(String Comment_status);

    List<UserCommentOrder> getCommentcontentArank( String keyword,  String Comment_rank);

    List<UserCommentOrder> getCommentcontentArankNA(String keyword, String Comment_status);

    List<UserCommentOrder> getCommentcontent(String keyword);

    List<UserCommentOrder> getCommentrank(String Comment_rank);

    List<UserOrderCommentOrder> getMaijiaPingjia(String School_degree);

    Integer insertCommentInfoByOrderId(commentInfo commentinfo);
}
